<?php
namespace app\admin\controller;
use think\Db;
use think\Controller;

//订单表
class order extends Controller
{
    public function orders(){
        $list = Db::table('order')->select();

        return view('index/order',[

            'title' => '订单表',
            'list'=> $list,

        ]);
    }
};















